package com.design.components;

import com.design.managers.*;

/**
 * Just one template can be created at the same time. Because of that Template is a singleton class that manages all  the operations over the 
 * template as a design component
 * */
public class Template implements DesignRestrictions {
	
	//**************************************************************************************************
	//	Constructor.
	//**************************************************************************************************
	
	private static Template template;
	
	private Template () {}
	
	public static Template getTemplate() {
		if (template == null) {
			template = new Template();
		}
		return template;
	}
	
	//**************************************************************************************************
	//	Atributes.
	//**************************************************************************************************
	
	private short id;
	private String name;
	private Theme theme;
	private BannersManager banners;
	private ButtonsManager buttons;
	private ScreensManager screens;
	
	private byte currentScreen;
	
	
	//**************************************************************************************************
	//	Methods that exports this Class (Public Methods).
	//**************************************************************************************************
		
	//**************************************************************************************************
	//* Getters and setters. 
	//**************************************************************************************************
	
	//**************************************************************************************************
	//	Inner Methods. (Private Methods).
	//**************************************************************************************************
	
	//**************************************************************************************************
	//	Inner Classes.
	//**************************************************************************************************
	
}
